﻿<center><div style="margin-top:10px">
<input class="dc_process_save" type="button" value="保存"/>
<input class="dc_process_preview" type="button" value="预跑"/>
@Html.ActionLink("回到列表", "Index", "ProcessRoll")
</div>
</center>
@{Html.Telerik().PanelBar().Name("PanelBar").SelectedIndex(0)
      .HtmlAttributes(new { style = "width: 98%; float: left; margin: 10px;" })
      .Effects(fx => { fx.Expand(); fx.Toggle(); })
      .Items(i =>
      {
          i.Add()
              .Text("流程管理")
              .ImageUrl("~/images/59.png").Expanded(false)
              .ImageHtmlAttributes(new { alt = "Mail Icon", @class = "process_designcontainer_title_img" })
              .Content(@<div>@Html.Partial(@"~\views\processroll\partial\PI\management.cshtml")</div>);

          i.Add()
              .Text("定义表单")
              .ImageUrl("~/images/59.png")
              .ImageHtmlAttributes(new { alt = "Field Icon", @class = "process_designcontainer_title_img" })
              .Expanded(true)
              .Content(@<div>@Html.Partial(@"~\views\processroll\partial\PI\fields.cshtml")</div>);
           i.Add()
              .Text("定义条件").Expanded(false)
              .ImageUrl("~/images/59.png")
              .ImageHtmlAttributes(new { alt = "Condition Icon", @class = "process_designcontainer_title_img" })
              .Expanded(true)
              .Content(@<div>@Html.Partial(@"~\views\processroll\partial\PI\conditions.cshtml")</div>);
           i.Add()
               .Text("审批链设计")
               .ImageUrl("~/images/59.png")
               .ImageHtmlAttributes(new { alt = "Tasks Icon", @class = "process_designcontainer_title_img" })
               .Expanded(true)
               .Content(@<div>@Html.Partial(@"~\views\processroll\partial\PI\activities.cshtml")</div>);

           i.Add()
              .Text("描述及注意事项").Expanded(false)
              .ImageUrl("~/images/59.png")
              .ImageHtmlAttributes(new { alt = "Notes Icon", @class = "process_designcontainer_title_img" })
              .Content(@<div>@Html.Partial(@"~\views\processroll\partial\PI\Descriptions.cshtml")</div>);
      }).Render(); 
}
@*<center><div style=""><input class="dc_process_save" type="button" value="保存"/><input class="dc_process_alive" type="button" value="生效"/></div></center>
*@